Total Complexity | 46 |
Dependencies | 3 |
Dependents | 0 |
Total lines | 368 |
Lines of code | 205 |
Logical lines of code | 109 |
Comment lines | 116 |
Methods | 11 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_block_templates() | 40 | 18 | 57 | |
get_block_templates_from_betterdocs() | 52 | 6 | 25 | |
get_block_template_fallback() | 47 | 5 | 37 | |
get_block_file_template() | 54 | 5 | 21 | |
get_block_templates_from_db() | 52 | 3 | 25 | |
block_template_is_available() | 67 | 3 | 7 | |
add_doc_archive_to_eligible_for_fallback_templates() | 61 | 2 | 14 | |
__construct() | 76 | 1 | 4 | |
init() | 69 | 1 | 6 | |
get_block_templates() | 70 | 1 | 6 | |
get_templates_directory() | 82 | 1 | 3 |